<div id="belly" class="ilike">
	<h1><?=$data->TITLE?></h1>
        <h2 class="desc"><?=$data->DESCRIPTION?></h2>
	<? if($data->ilike->match) foreach ($data->ilike->match as $p):?>
		<div id="P<?=$p->ID?>" class="request">
			<? include 'apps/profile/template/mini.html'; ?>
			<span class="userName"><?=$p->fullname?></span><br />
			<?/*<a href="javascript:block(<?=$p->ID?>);" title="<?=_('Block this member.')?>"><?=_('Block')?></a> */?>
			<div class="links">
			<a class="mini" href="javascript:unlike(<?=$p->ID?>);" title="<?=_('Kick from `like` list')?>"><?=_('Unlike')?></a>
			</div>
			<div class="clear"></div>
		</div>
	<?endforeach;?>
<div class="clear"></div>
</div>
<div id="flank">
    <? @include 'apps/advertisement/template/_item.html'; ?>
</div>
<script type="text/javascript">
function unlike(ID){
	tool.post({'url':'/json/ilike/unlike',
		'data':'accountID='+ID,
		'onComplete':function(e){			
			if(e.code==200)	$('P'+ID).destroy();
			else return tool.result('<?=_('Alert')?>','<?=_('Please try again later..')?>',400);
		}
	});
}
</script>